﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ZealousTTS.Web.Utility
{
    public class AppConstants
    {
        #region Area Definitions
        public class Area
        {
            public const String ADMIN = "Admin";
            public const String PRIVATE = "Private";
            public const String PUBLIC = "";//"Public";
        }
        public static class RouteNames
        {            
            public class Public
            {
                public const String DEFAULT = "Public_default";
                public const String ITEM_DETAILS = "Public_Item_Details";
            }            
        }
        #endregion

        #region UI CSS Classes
        public class UI
        {
            public const String ERROR_MESSAGE_CLASS = "ErrorMessageBox";
            public const String MESSAGE_BOX_CLASS = "InfoMessageBox";
            public const String DYNAMIC_CONTROL_PREFIX = "DP.";
        }
        #endregion

        public class Directories
        {
            public const String PRODUCT_IMAGES = "/UploadedImages/ProductImages";
            public const String COMPANY_LOGO = "/UploadedImages/CompanyLogo";
            public const String PRODUCT_PROPERTY_GROUP_ICONS = "/UploadedImages/ProductImages/PropertyGroupIcons";
            public const String TEMP = "/Temp";
            public const String COMPANY_IMAGES = "/UploadedImages/CompanyLogos";
            public const String EMAIL_TEMPLATES = "/EmailTemplates";
        }

        public static class Sections
        {
            public const String PAGE_HEAD = "PageHeadSection";
            public const String LEFT_MENU = "LeftMenu";
            public const String LEFT_SIDEBAR = "LeftSideBar";
            public const String RIGHT_SIDEBAR = "RightSideBar";
        }

        #region Value Formats
        public class ValueOf
        {            
            public const String DECIMAL_FORMAT = "{0:0,0.00}";
            public const String DECIMAL_FORMAT_FOR_TEXTBOX = "{0:0}";
            //public const string DECIMAL_FORMAT_CALCULATION = "{0:00.#############}";
            //public const String DECIMAL_FORMAT_CALCULATION = "{0:00.###}";
            public const String DATE_FROMAT_DISPLAY = "MMMM dd, yyyy";
            //public const String DATE_FROMAT_FOR_FILE_NAME = "ddMMyyyy";
            //public const String DATE_SHORT_DISPLAY = "dd/MM/yyyy";
            //public const String REPORT_DATE_FORMAT = "d MMM yyyy";
            //public const String DATE_FROMAT_DISPLAY_WITH_TIME = "dddd, MMMM dd, yyyy hh:mm:ss tt";
        }
        #endregion

        #region Validation Constants
        public static class Validation
        {
            public const String PRODUCT_CODE = "Code";
            public const String PRODUCT_UPC = "DuplicateUPC";
        }
        #endregion

        #region Email Templates
        public class EmailTemplate
        {
            public const String COMMON = "/EmailTemplates/Common.html";
        }
        /// <summary>
        /// Custom Tag Constants in the Email Templates
        /// </summary>
        public class ETConstants
        {
            public const String MESSAGE = "[*MESSAGE*]";
            public const String DOMAIN = "[*DOMAIN*]";
        }
        #endregion
    }
}